package org.jeecg.modules.jxc.goodstype.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.jeecg.modules.jxc.goodstype.entity.Unit;
import org.jeecg.modules.jxc.goodstype.mapper.UnitMapper;
import org.jeecg.modules.jxc.goodstype.service.UnitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @company: yaorange
 * @author: Mr.Yu
 * @version: 1.0
 * @create: 2021-12-22 16:05:08
 */

@Service
public class UnitServiceImpl implements UnitService {

    @Autowired
    private UnitMapper unitMapper;

    @Override
    public List<Unit> select() {

        List<Unit> list=unitMapper.selectAll();
        return list;
    }
}
